
interface Menu {
    id: String,
    parentId: String,
    name: String,
    component: String,
    hasChildren: String,
    metaIcon: String,
    metaShow: String,
    metaTitle: String,
    param: String,
    path: String,
    redirect: String,
    createTime: String,
    updateTime: String,
    isDeleted: String,
}

export const configColumns = [
    {
        title: '编号',
        dataIndex: 'id',
        width: '150px',
        scopedSlots: { customRender: 'action' }
    },
    {
        title: '父级编号',
        dataIndex: 'parentId',
        width: '150px',
    },
    {
        title: '名称',
        dataIndex: 'name',
        width: '',
    },
    {
        title: '页面路径',
        dataIndex: 'component',
        width: '180px',
    },
    {
        title: '路由地址',
        dataIndex: 'path',
        width: '150px',
    },
    {
        title: '创建时间',
        dataIndex: 'createTime',
        width: '180px',
    },
    {
        title: '修改时间',
        dataIndex: 'updateTime',
        width: '180px',
    },
    {
        title: '状态',
        dataIndex: 'isDeleted',
        width: '150px',
    },
]
